package com.zxy.ziems.server.monitor.service;

import com.zxy.ziems.server.monitor.pojo.dto.MonitorGroupAddDTO;
import com.zxy.ziems.server.monitor.pojo.vo.MonitorGroupVO;
import com.zxy.ziems.server.monitor.pojo.vo.MonitorTreeVO;

import java.util.List;

/**
 * @Copyright (C),
 * @ClassName: MonitorGroupService
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/5/10 14:34
 */
public interface MonitorGroupService {
    /**
     * 查询组
     *
     * @return
     */
    List<MonitorGroupVO> getGroupList();

    /**
     * 添加组
     *
     * @return
     */
    boolean addGroup(MonitorGroupAddDTO monitorGroupAddDTO);

    /**
     * 修改组
     *
     * @return
     */
    boolean updateGroup(MonitorGroupAddDTO monitorGroupAddDTO);

    /**
     * 删除组
     *
     * @return
     */
    boolean deleteGroup(String id);

    List<MonitorTreeVO> devideTree();


}
